package com.mzj.saas.jobs.lock.vo;

/**
 * 事件回调
 * 
 * @author shun
 * @createDate: 2021年6月28日 下午8:59:54
 * @version: 1.0
 *
 */
public class SmartLockCallBackVO {

	private String eventType;// 门锁退网事件
	private Integer deviceType;// 门锁设备 1
	private String gatewayId;// 网关序列号，门锁加入的网关
	private String time;// 事件发生退网时间
	private String deviceId;// 门锁设备 id
	private String created;// 网关上报事件时间

	private Integer code;// 开锁成功与否0/-1
	private Integer index;// 密码编号 1001-2000 为普通密码/65520 为动态密码/0 为管理员密码
	private String model;// 锁端开锁/远程开锁"local/remote"
	/**
	 * 1、开锁密码取值：管理员密码/密码/卡片/指纹"adminpwd/code/card/fingerprint"
	 * 2、修改/删除"change/del"
	 */
	private String type;
	private String roomId;// 门锁所绑定的房间 id，4.2 中roomId 参数有值，推送消息时该参数有值，反之该参数为空串
	private String power;// 电量值。当电量值低于30%时将会上报该事件，此时请尽快更换电池
	private String pwdSeq;// 如果是新增，则为新增密码、卡片、指纹是所携带的 pwdSeq以便于第三方进行对应。
	private String passwordtype;// 密码类型取值：密码/卡片/指纹"code/card/fingerprint"

	/**
	 * 注： a、冻结、解冻状态：冻结/解冻"FREEZE/ACTIVE" 
	 * b、门开关状态：开、关、不支持"OPEN/CLOSE/NONE"
	 */
	private String status;

	public String getEventType() {
		return eventType;
	}

	public void setEventType(String eventType) {
		this.eventType = eventType;
	}

	public Integer getDeviceType() {
		return deviceType;
	}

	public void setDeviceType(Integer deviceType) {
		this.deviceType = deviceType;
	}

	public String getGatewayId() {
		return gatewayId;
	}

	public void setGatewayId(String gatewayId) {
		this.gatewayId = gatewayId;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}

	public String getCreated() {
		return created;
	}

	public void setCreated(String created) {
		this.created = created;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public Integer getIndex() {
		return index;
	}

	public void setIndex(Integer index) {
		this.index = index;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getRoomId() {
		return roomId;
	}

	public void setRoomId(String roomId) {
		this.roomId = roomId;
	}

	public String getPower() {
		return power;
	}

	public void setPower(String power) {
		this.power = power;
	}

	public String getPwdSeq() {
		return pwdSeq;
	}

	public void setPwdSeq(String pwdSeq) {
		this.pwdSeq = pwdSeq;
	}

	public String getPasswordtype() {
		return passwordtype;
	}

	public void setPasswordtype(String passwordtype) {
		this.passwordtype = passwordtype;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}
